/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * TelaCadastroCondominios.java
 *
 * Created on May 27, 2010, 4:19:34 PM
 */
package adcon.apresentacao;

import adcon.negocio.advogado.Advogado;
import adcon.negocio.condomino.Condomino;
import adcon.negocio.dados.Endereco;
import adcon.negocio.dados.Telefone;
import adcon.persistencia.DAO;
import avant.view.AvantViewUtil;
import avant.view.model.AvantComboModel;
import avant.view.model.AvantListModel;
import avant.view.model.AvantTableModel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;
import javax.swing.JInternalFrame;

/**
 *
 * @author thiagocifani
 */
public class TelaCadastroCondominos extends JInternalFrame {

    private Condomino condomino;
    private AvantListModel<Telefone> modeloTelefone;
    private AvantListModel<Endereco> modeloEndereco;
    private AvantComboModel<Advogado> modeloAdvogado;
    private AvantComboModel<Advogado> modeloAdvogado2;
    private Telefone telefone = new Telefone();
    private AvantTableModel<Condomino> modelo;
    private Endereco endereco = new Endereco();
    private List<Advogado> advogados;

    /** Creates new form TelaCadastroCondominios */
    public TelaCadastroCondominos(Condomino condomino, AvantTableModel modelo) {
        this.condomino = condomino;
        this.modelo = modelo;
        initComponents();
        adicionarOuvintes();
        preencherTela();
        txtCpf.requestFocus();
    }

    private void cancelar() {
        this.doDefaultCloseAction();
    }

    private void adicionar() {
        preencherObjeto();
        if (condomino.getCodigo() == 0) {
            try {
                if (verificarCampos()) {
                    new DAO().salvar(condomino);
                    modelo.adicionar(condomino);
                    AvantViewUtil.exibirInformacao("Dados salvos com sucesso!", this);
                    this.doDefaultCloseAction();
                } else {
                    return;
                }
            } catch (Exception e) {
                e.printStackTrace();
                AvantViewUtil.exibirErro("Condômino com CPF já cadastrado!", this);
            }
        } else {
            try {
                if (verificarCampos()) {
                    new DAO().salvar(condomino);
                    modelo.notificar(condomino);
                    AvantViewUtil.exibirInformacao("Dados salvos com sucesso!", this);
                    this.doDefaultCloseAction();
                } else {
                    return;
                }
            } catch (Exception e) {
                e.printStackTrace();
                AvantViewUtil.exibirErro("Não foi possível adicionar o condômino!", this);
            }
        }

    }

    private void remover() {
        if (AvantViewUtil.perguntar("Tem certeza que deseja apagar " + condomino.getNome() + "?", this)) {
            try {
                new DAO().remover(condomino);
                modelo.remover(condomino);
                this.doDefaultCloseAction();
            } catch (Exception e) {
                e.printStackTrace();
                AvantViewUtil.exibirErro("Nao foi possivel remover o condômino", this);
            }
        }
    }

    private void adicionarOuvintes() {
        ControladorDeEventos controlador = new ControladorDeEventos();

        btnSalvar.addActionListener(controlador);
        btnCancelar.addActionListener(controlador);
        btnRemover.addActionListener(controlador);
        btnAdicionarTelefone.addActionListener(controlador);
        btnRemoverTelefone.addActionListener(controlador);
        btnEditarTelefone.addActionListener(controlador);
        btnAdicionarEndereco.addActionListener(controlador);
        btnRemoverEndereco.addActionListener(controlador);
        btnEditarEndereco.addActionListener(controlador);
    }

    private void adicionarTelefone() {
        telefone = new Telefone();
        boolean ok = TelaEditarTelefone.editar(telefone, null);
        if (ok) {
            try {
                condomino.adicionarTelefone(telefone);
                modeloTelefone.setObjetos(condomino.getTelefones());
            } catch (Exception e) {
                e.printStackTrace();
                AvantViewUtil.exibirErro("Não foi possível adicionar o telefone", this);
            }
        }
    }

    private void removerTelefone() {
        telefone = modeloTelefone.getObjetoSelecionado();

        try {
            if (modeloTelefone.size() > 0 && AvantViewUtil.perguntar("Tem certeza que deseja remover o telefone selecionado?", this)) {
                condomino.removerTelefone(telefone);
                new DAO().salvar(condomino);
                new DAO().remover(telefone);
                modeloTelefone.setObjetos(condomino.getTelefones());
                AvantViewUtil.exibirInformacao("Telefone removido com sucesso!", this);
            }
        } catch (Exception e) {
            e.printStackTrace();
            AvantViewUtil.exibirErro("Não foi possível remover o telefone!", this);
        }
    }

    private void editarTelefone() {
        telefone = modeloTelefone.getObjetoSelecionado();
        boolean ok = TelaEditarTelefone.editar(telefone, null);
        if (ok) {
            try {
                modeloTelefone.setObjetos(condomino.getTelefones());
            } catch (Exception e) {
                e.printStackTrace();
                AvantViewUtil.exibirErro("Não foi possível adicionar o telefone", this);
            }
        }
    }

    private void adicionarEndereco() {
        endereco = new Endereco();
        boolean ok = DialogoEditarEndereco.editar(endereco, null);
        if (ok) {
            try {
                condomino.adicionarEndereco(endereco);
                modeloEndereco.setObjetos(condomino.getEnderecos());
            } catch (Exception e) {
                e.printStackTrace();
                AvantViewUtil.exibirErro("Não foi possível adicionar o Endereco", this);
            }
        }
    }

    private void removerEndereco() {
        endereco = modeloEndereco.getObjetoSelecionado();

        try {
            if (modeloEndereco.size() > 0 && AvantViewUtil.perguntar("Tem certeza que deseja remover o Endereço selecionado?", this)) {
                condomino.removerEndereco(endereco);
                new DAO().salvar(condomino);
                new DAO().remover(endereco);
                modeloEndereco.setObjetos(condomino.getEnderecos());
                AvantViewUtil.exibirInformacao("Endereço removido com sucesso!", this);
            }
        } catch (Exception e) {
            e.printStackTrace();
            AvantViewUtil.exibirErro("Não foi possível remover o Endereço!", this);
        }
    }

    private void editarEndereco() {
        endereco = modeloEndereco.getObjetoSelecionado();
        boolean ok = DialogoEditarEndereco.editar(endereco, null);
        if (ok) {
            try {
                modeloEndereco.setObjetos(condomino.getEnderecos());
            } catch (Exception e) {
                e.printStackTrace();
                AvantViewUtil.exibirErro("Não foi possível adicionar a Unidade", this);
            }
        }
    }

    private List carregarAdvogados() {
        advogados = new DAO().listar(Advogado.class);
        return advogados;
    }

    private void preencherObjeto() {
        condomino.setNome(txtNome.getText().trim().toUpperCase());
        condomino.setCpf(txtCpf.getText());
        condomino.setContato(txtContato.getText().trim().toUpperCase());
        condomino.setCorrespondenciaPara(txtCorrespondencia.getText().trim().toUpperCase());
        condomino.setFalecido(checkBoxFalecido.isSelected());
        condomino.setEmail(txtEmail.getText().trim().toUpperCase());
        condomino.setRg(txtRg.getText().trim().toUpperCase());
        condomino.getUnidade().setAtivo(checkboxAtivo.isSelected());
        condomino.getUnidade().setBloco(txtBloco.getText());
        condomino.getUnidade().setSindico(checkBoxSindico.isSelected());
        condomino.getUnidade().setUnidade(txtUnidade.getText());
        System.out.println("sindico" + condomino.getUnidade().isSindico());
        condomino.getUnidade().setBloquearImpressaoCartaCobranca(checkboxCartaCobranca.isSelected());
        condomino.getUnidade().setBloquearImpressaoCertificado(checkboxImpressaoCertificado.isSelected());
        condomino.getUnidade().setBloquearImpressaoCobranca(checkboxImpressaoCobranca.isSelected());
        condomino.getUnidade().setCoeficiente(txtCoeficiente.getText());
        condomino.getUnidade().setIptu(txtIptu.getText());
        condomino.getUnidade().setFracaoIdeal(txtFracaoIdeal.getText());
        condomino.getUnidade().setValorPrincipal(txtValorPrincipal.getText());
        //preencher inquilino
        condomino.getUnidade().getInquilino().setNome(txtInquilino.getText().trim().toUpperCase());
        condomino.getUnidade().getInquilino().setCpf(txtCpfInquilino.getText());
        condomino.getUnidade().getInquilino().setEmail(txtEmailInquilino.getText().trim().toUpperCase());
        condomino.getUnidade().getInquilino().getEndereco().setRua(txtEnderecoInquilino.getText().trim().toUpperCase());
        condomino.getUnidade().getInquilino().getEndereco().setNumero(txtNumeroInquilino.getText().trim());
        condomino.getUnidade().getInquilino().getEndereco().setBairro(txtBairroInquilino.getText().trim().toUpperCase());
        condomino.getUnidade().getInquilino().getEndereco().setCidade(txtCidadeInquilino.getText().trim().toUpperCase());
        condomino.getUnidade().getInquilino().getEndereco().setCep(txtCepInquilino.getText().trim());
        condomino.getUnidade().getInquilino().getEndereco().setUf(txtUfInquilino.getText().trim().toUpperCase());
        condomino.getUnidade().getInquilino().getEndereco().setComplemento(txtComplementoInquilino.getText().trim().toUpperCase());

        
        }
    

    private void preencherTela() {

        modeloAdvogado = new AvantComboModel<Advogado>(cbAdvogado1, carregarAdvogados());
        modeloAdvogado2 = new AvantComboModel<Advogado>(cbAdvogado2, carregarAdvogados());

        if (condomino != null) {
            List<Telefone> telefones = condomino.getTelefones();
            List<Endereco> enderecos = condomino.getEnderecos();
            modeloTelefone = new AvantListModel<Telefone>(listaTelefones, telefones);
            modeloEndereco = new AvantListModel<Endereco>(listaEnderecos, enderecos);
            txtNome.setText(condomino.getNome());
            txtCpf.setText(condomino.getCpf());
            txtContato.setText(condomino.getContato());
            txtCorrespondencia.setText(condomino.getCorrespondenciaPara());
            txtRg.setText(condomino.getRg());
            txtUnidade.setText(condomino.getUnidade().getUnidade());
            txtCoeficiente.setText(condomino.getUnidade().getCoeficiente());
            txtContato.setText(condomino.getContato());
            txtFracaoIdeal.setText(condomino.getUnidade().getFracaoIdeal());
            txtEmail.setText(condomino.getEmail());
            txtBloco.setText(condomino.getUnidade().getBloco());
            checkboxAtivo.setSelected(condomino.getUnidade().isAtivo());
            checkBoxSindico.setSelected(condomino.getUnidade().isSindico());
            checkboxCartaCobranca.setSelected(condomino.getUnidade().isBloquearImpressaoCartaCobranca());
            checkboxImpressaoCertificado.setSelected(condomino.getUnidade().isBloquearImpressaoCertificado());
            checkboxImpressaoCobranca.setSelected(condomino.getUnidade().isBloquearImpressaoCobranca());
            checkBoxFalecido.setSelected(condomino.isFalecido());
            txtCondominio.setText(condomino.getUnidade().getCondominio().getRazaoSocial());

            if (condomino.getEnderecos() != null) {
                for (Endereco endereco : condomino.getEnderecos()) {
                    if (endereco.isPadrao()) {
                        txtEndereco.setText(endereco.getRua());
                        txtBairro.setText(endereco.getBairro());
                        txtCep.setText(endereco.getCep());
                        txtComplemento.setText(endereco.getComplemento());
                        txtNumero.setText(endereco.getNumero());
                        txtUf.setText(endereco.getUf());
                        txtCidade.setText(endereco.getCidade());
                        break;
                    }
                }
            }

            if (condomino.getUnidade().getInquilino() != null) {
                txtInquilino.setText(condomino.getUnidade().getInquilino().getNome());
                txtEnderecoInquilino.setText(condomino.getUnidade().getInquilino().getEndereco().getRua());
                txtCidadeInquilino.setText(condomino.getUnidade().getInquilino().getEndereco().getCidade());
                txtBairroInquilino.setText(condomino.getUnidade().getInquilino().getEndereco().getBairro());
                txtCepInquilino.setText(condomino.getUnidade().getInquilino().getEndereco().getCep());
                txtComplementoInquilino.setText(condomino.getUnidade().getInquilino().getEndereco().getComplemento());
                txtCpfInquilino.setText(condomino.getUnidade().getInquilino().getCpf());
                txtUfInquilino.setText(condomino.getUnidade().getInquilino().getEndereco().getUf());
                txtEmailInquilino.setText(condomino.getUnidade().getInquilino().getEmail());
                txtRgInquilino.setText(condomino.getUnidade().getInquilino().getRg());
            }
           
        }
    }

    private boolean verificarCampos() {
        if (txtNome.getText() == null || txtNome.getText().equals("")) {
            AvantViewUtil.exibirErro("Proprietário é um Campo Obrigatório!", this);
            return false;
        }
        if (!condomino.validaCpf(txtCpf.getText())) {
            AvantViewUtil.exibirErro("CPF Inválido ou Não digitado!", this);
            return false;
        }
        return true;
    }

    private class ControladorDeEventos implements ActionListener {

        public void actionPerformed(ActionEvent e) {
            Object origem = e.getSource();

            if (origem == btnSalvar) {
                adicionar();
            } else if (origem == btnCancelar) {
                cancelar();
            } else if (origem == btnRemover) {
                remover();
            } else if (origem == btnAdicionarTelefone) {
                adicionarTelefone();
            } else if (origem == btnRemoverTelefone) {
                removerTelefone();
            } else if (origem == btnEditarTelefone) {
                editarTelefone();
            } else if (origem == btnAdicionarEndereco) {
                adicionarEndereco();
            } else if (origem == btnRemoverEndereco) {
                removerEndereco();
            } else if (origem == btnEditarEndereco) {
                editarEndereco();
            }
        }
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        tabCondominios = new javax.swing.JTabbedPane();
        jPanel10 = new javax.swing.JPanel();
        panelContatos = new javax.swing.JPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        listaEnderecos = new javax.swing.JList();
        btnAdicionarEndereco = new javax.swing.JButton();
        btnEditarEndereco = new javax.swing.JButton();
        btnRemoverEndereco = new javax.swing.JButton();
        panelContatos1 = new javax.swing.JPanel();
        jScrollPane4 = new javax.swing.JScrollPane();
        listaTelefones = new javax.swing.JList();
        btnAdicionarTelefone = new javax.swing.JButton();
        btnEditarTelefone = new javax.swing.JButton();
        btnRemoverTelefone = new javax.swing.JButton();
        jPanel1 = new javax.swing.JPanel();
        jPanel11 = new javax.swing.JPanel();
        jLabel22 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        jLabel31 = new javax.swing.JLabel();
        jLabel32 = new javax.swing.JLabel();
        jLabel33 = new javax.swing.JLabel();
        jLabel34 = new javax.swing.JLabel();
        jLabel35 = new javax.swing.JLabel();
        txtCodigo1 = new javax.swing.JTextField();
        txtInquilino = new javax.swing.JTextField();
        txtEnderecoInquilino = new javax.swing.JTextField();
        txtNumeroInquilino = new javax.swing.JTextField();
        txtComplementoInquilino = new javax.swing.JTextField();
        txtBairroInquilino = new javax.swing.JTextField();
        jLabel36 = new javax.swing.JLabel();
        txtCidadeInquilino = new javax.swing.JTextField();
        jLabel37 = new javax.swing.JLabel();
        txtUfInquilino = new javax.swing.JTextField();
        jLabel38 = new javax.swing.JLabel();
        txtCpfInquilino = new javax.swing.JFormattedTextField();
        txtCepInquilino = new javax.swing.JTextField();
        jLabel11 = new javax.swing.JLabel();
        txtEmailInquilino = new javax.swing.JTextField();
        txtRgInquilino = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        panelDadosBancários = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        Coeficiente = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        txtIptu = new javax.swing.JTextField();
        txtFracaoIdeal = new javax.swing.JTextField();
        txtBloco = new javax.swing.JTextField();
        txtCoeficiente = new javax.swing.JTextField();
        txtValorPrincipal = new javax.swing.JTextField();
        jPanel3 = new javax.swing.JPanel();
        checkBoxSindico = new javax.swing.JCheckBox();
        checkboxAtivo = new javax.swing.JCheckBox();
        checkboxImpressaoCertificado = new javax.swing.JCheckBox();
        checkboxImpressaoCobranca = new javax.swing.JCheckBox();
        checkboxCartaCobranca = new javax.swing.JCheckBox();
        jPanel4 = new javax.swing.JPanel();
        checkboxNotificadoJudicialmente = new javax.swing.JCheckBox();
        cbAdvogado2 = new javax.swing.JComboBox();
        dateField1 = new net.sf.nachocalendar.components.DateField();
        dateField3 = new net.sf.nachocalendar.components.DateField();
        jLabel12 = new javax.swing.JLabel();
        jPanel6 = new javax.swing.JPanel();
        checkBoxProcessoJuridico = new javax.swing.JCheckBox();
        cbAdvogado1 = new javax.swing.JComboBox();
        dateField2 = new net.sf.nachocalendar.components.DateField();
        panelAnotacoes = new javax.swing.JPanel();
        jPanel14 = new javax.swing.JPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        textAreaAnotacoes = new javax.swing.JTextArea();
        jPanel8 = new javax.swing.JPanel();
        jLabel19 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jLabel24 = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        jLabel26 = new javax.swing.JLabel();
        txtCodigo = new javax.swing.JTextField();
        txtNome = new javax.swing.JTextField();
        txtEndereco = new javax.swing.JTextField();
        txtNumero = new javax.swing.JTextField();
        txtComplemento = new javax.swing.JTextField();
        txtBairro = new javax.swing.JTextField();
        jLabel27 = new javax.swing.JLabel();
        txtCidade = new javax.swing.JTextField();
        jLabel28 = new javax.swing.JLabel();
        txtUf = new javax.swing.JTextField();
        jLabel29 = new javax.swing.JLabel();
        txtCpf = new javax.swing.JFormattedTextField();
        txtCep = new javax.swing.JTextField();
        jLabel10 = new javax.swing.JLabel();
        txtRg = new javax.swing.JTextField();
        checkBoxFalecido = new javax.swing.JCheckBox();
        jLabel1 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        txtContato = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        txtCorrespondencia = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        txtEmail = new javax.swing.JTextField();
        txtCondominio = new javax.swing.JTextField();
        jLabel13 = new javax.swing.JLabel();
        txtUnidade = new javax.swing.JTextField();
        jPanel9 = new javax.swing.JPanel();
        btnSalvar = new javax.swing.JButton();
        btnCancelar = new javax.swing.JButton();
        btnRemover = new javax.swing.JButton();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Cadastro de Condôminos");

        panelContatos.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.LineBorder(new java.awt.Color(102, 102, 102), 1, true), "Endereços"));

        jScrollPane2.setViewportView(listaEnderecos);

        btnAdicionarEndereco.setIcon(new javax.swing.ImageIcon(getClass().getResource("/adcon/imagens/salvar.png"))); // NOI18N

        btnEditarEndereco.setIcon(new javax.swing.ImageIcon(getClass().getResource("/adcon/imagens/editar.png"))); // NOI18N

        btnRemoverEndereco.setIcon(new javax.swing.ImageIcon(getClass().getResource("/adcon/imagens/remover.png"))); // NOI18N

        org.jdesktop.layout.GroupLayout panelContatosLayout = new org.jdesktop.layout.GroupLayout(panelContatos);
        panelContatos.setLayout(panelContatosLayout);
        panelContatosLayout.setHorizontalGroup(
            panelContatosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, panelContatosLayout.createSequentialGroup()
                .addContainerGap()
                .add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 246, Short.MAX_VALUE)
                .add(10, 10, 10)
                .add(panelContatosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(btnEditarEndereco)
                    .add(btnRemoverEndereco)
                    .add(btnAdicionarEndereco))
                .addContainerGap())
        );
        panelContatosLayout.setVerticalGroup(
            panelContatosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(panelContatosLayout.createSequentialGroup()
                .add(panelContatosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(panelContatosLayout.createSequentialGroup()
                        .add(33, 33, 33)
                        .add(btnAdicionarEndereco)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(btnEditarEndereco)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(btnRemoverEndereco))
                    .add(panelContatosLayout.createSequentialGroup()
                        .addContainerGap()
                        .add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 177, Short.MAX_VALUE)))
                .addContainerGap())
        );

        panelContatos1.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.LineBorder(new java.awt.Color(102, 102, 102), 1, true), "Telefones"));

        jScrollPane4.setViewportView(listaTelefones);

        btnAdicionarTelefone.setIcon(new javax.swing.ImageIcon(getClass().getResource("/adcon/imagens/salvar.png"))); // NOI18N

        btnEditarTelefone.setIcon(new javax.swing.ImageIcon(getClass().getResource("/adcon/imagens/editar.png"))); // NOI18N

        btnRemoverTelefone.setIcon(new javax.swing.ImageIcon(getClass().getResource("/adcon/imagens/remover.png"))); // NOI18N

        org.jdesktop.layout.GroupLayout panelContatos1Layout = new org.jdesktop.layout.GroupLayout(panelContatos1);
        panelContatos1.setLayout(panelContatos1Layout);
        panelContatos1Layout.setHorizontalGroup(
            panelContatos1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, panelContatos1Layout.createSequentialGroup()
                .addContainerGap()
                .add(jScrollPane4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 281, Short.MAX_VALUE)
                .add(10, 10, 10)
                .add(panelContatos1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(btnEditarTelefone)
                    .add(btnRemoverTelefone)
                    .add(btnAdicionarTelefone))
                .addContainerGap())
        );
        panelContatos1Layout.setVerticalGroup(
            panelContatos1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(panelContatos1Layout.createSequentialGroup()
                .add(panelContatos1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(panelContatos1Layout.createSequentialGroup()
                        .add(33, 33, 33)
                        .add(btnAdicionarTelefone)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(btnEditarTelefone)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(btnRemoverTelefone))
                    .add(panelContatos1Layout.createSequentialGroup()
                        .addContainerGap()
                        .add(jScrollPane4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 177, Short.MAX_VALUE)))
                .addContainerGap())
        );

        org.jdesktop.layout.GroupLayout jPanel10Layout = new org.jdesktop.layout.GroupLayout(jPanel10);
        jPanel10.setLayout(jPanel10Layout);
        jPanel10Layout.setHorizontalGroup(
            jPanel10Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel10Layout.createSequentialGroup()
                .addContainerGap()
                .add(panelContatos, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .add(18, 18, 18)
                .add(panelContatos1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        jPanel10Layout.setVerticalGroup(
            jPanel10Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel10Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel10Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, panelContatos1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, panelContatos, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );

        panelContatos.getAccessibleContext().setAccessibleName("Endereco");

        tabCondominios.addTab("Mais Dados", jPanel10);

        jPanel11.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.LineBorder(new java.awt.Color(102, 102, 102), 1, true), "Dados Inquilino", javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.DEFAULT_POSITION));

        jLabel22.setText("Código:");

        jLabel30.setText("Inquilino:");

        jLabel31.setText("CPF");

        jLabel32.setText("Endereço:");

        jLabel33.setText("Número:");

        jLabel34.setText("Compl.:");

        jLabel35.setText("Bairro:");

        txtCodigo1.setEditable(false);

        txtInquilino.setToolTipText("Digite a Razão Social");

        txtEnderecoInquilino.setToolTipText("Digite o Endereço");

        txtComplementoInquilino.setToolTipText("");

        jLabel36.setText("Cidade:");

        jLabel37.setText("UF:");

        jLabel38.setText("CEP:");

        txtCpfInquilino.setToolTipText("Digite o CPF");

        jLabel11.setText("RG");

        jLabel5.setText("Email");

        org.jdesktop.layout.GroupLayout jPanel11Layout = new org.jdesktop.layout.GroupLayout(jPanel11);
        jPanel11.setLayout(jPanel11Layout);
        jPanel11Layout.setHorizontalGroup(
            jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jLabel22)
                    .add(jLabel30)
                    .add(jLabel32)
                    .add(jLabel34)
                    .add(jLabel36))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel11Layout.createSequentialGroup()
                        .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                            .add(jPanel11Layout.createSequentialGroup()
                                .add(txtCidadeInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 239, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                .add(jLabel37)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(txtUfInquilino))
                            .add(txtComplementoInquilino)
                            .add(txtEnderecoInquilino)
                            .add(txtInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 368, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .add(47, 47, 47)
                        .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLabel33)
                            .add(jLabel35)
                            .add(jLabel38)
                            .add(jLabel5))
                        .add(10, 10, 10)
                        .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(txtEmailInquilino, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 210, Short.MAX_VALUE)
                            .add(txtNumeroInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 88, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(txtBairroInquilino, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 210, Short.MAX_VALUE)
                            .add(txtCepInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 135, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .add(jPanel11Layout.createSequentialGroup()
                        .add(txtCodigo1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 78, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(18, 18, 18)
                        .add(jLabel31)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(txtCpfInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 146, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(58, 58, 58)
                        .add(jLabel11)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(txtRgInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 193, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jPanel11Layout.setVerticalGroup(
            jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel11Layout.createSequentialGroup()
                .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel22)
                    .add(txtCodigo1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jLabel31)
                    .add(txtCpfInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jLabel11)
                    .add(txtRgInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(8, 8, 8)
                .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel30)
                    .add(txtInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(txtEmailInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jLabel5))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel32)
                    .add(jLabel33)
                    .add(txtEnderecoInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(txtNumeroInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel11Layout.createSequentialGroup()
                        .add(7, 7, 7)
                        .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLabel35)
                            .add(txtBairroInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .add(jPanel11Layout.createSequentialGroup()
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLabel34)
                            .add(txtComplementoInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(jLabel36)
                        .add(txtCidadeInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jLabel37)
                        .add(txtUfInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jPanel11Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(jLabel38)
                        .add(txtCepInquilino, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(30, Short.MAX_VALUE))
        );

        org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel11, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel1Layout.createSequentialGroup()
                .add(23, 23, 23)
                .add(jPanel11, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .add(36, 36, 36))
        );

        tabCondominios.addTab("Inquilino", jPanel1);

        jPanel2.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(102, 102, 102), 1, true));

        jLabel2.setText("IPTU");

        jLabel3.setText("Fração Ideal:");

        jLabel4.setText("Bloco:");

        Coeficiente.setText("Coeficiente:");

        jLabel6.setText("Valor Principal:");

        org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jLabel4)
                    .add(Coeficiente)
                    .add(jLabel3)
                    .add(jLabel6)
                    .add(jLabel2))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                    .add(txtFracaoIdeal, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 187, Short.MAX_VALUE)
                    .add(txtIptu)
                    .add(txtBloco)
                    .add(txtCoeficiente)
                    .add(txtValorPrincipal))
                .addContainerGap(18, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel2Layout.createSequentialGroup()
                .add(27, 27, 27)
                .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel2)
                    .add(txtIptu, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel3)
                    .add(txtFracaoIdeal, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(18, 18, 18)
                .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel4)
                    .add(txtBloco, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(Coeficiente)
                    .add(txtCoeficiente, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(18, 18, 18)
                .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel6)
                    .add(txtValorPrincipal, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(48, Short.MAX_VALUE))
        );

        jPanel3.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(102, 102, 102), 1, true));

        checkBoxSindico.setText("Esta Unidade possui o condômino Sindico.");

        checkboxAtivo.setSelected(true);
        checkboxAtivo.setText("Esta unidade esta ativa");

        checkboxImpressaoCertificado.setText("Bloquear Impressão de Certificado");

        checkboxImpressaoCobranca.setText("Bloquear Impressão de Cobrança");

        checkboxCartaCobranca.setText("Bloquear Carta Cobrança");

        jPanel4.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(102, 102, 102), 1, true));

        checkboxNotificadoJudicialmente.setText("Está Notificado extra Judicialmente");

        cbAdvogado2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        jLabel12.setText("À");

        org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel4Layout.createSequentialGroup()
                        .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(cbAdvogado2, 0, 193, Short.MAX_VALUE)
                            .add(org.jdesktop.layout.GroupLayout.TRAILING, checkboxNotificadoJudicialmente))
                        .addContainerGap())
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel4Layout.createSequentialGroup()
                        .add(dateField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(18, 18, 18)
                        .add(jLabel12)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 24, Short.MAX_VALUE)
                        .add(dateField3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(26, 26, 26))))
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel4Layout.createSequentialGroup()
                .add(checkboxNotificadoJudicialmente)
                .add(9, 9, 9)
                .add(cbAdvogado2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(dateField3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(dateField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jLabel12))
                .addContainerGap(21, Short.MAX_VALUE))
        );

        jPanel6.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(102, 102, 102), 1, true));

        checkBoxProcessoJuridico.setText("Unidade está em processo Jurídico");

        cbAdvogado1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        org.jdesktop.layout.GroupLayout jPanel6Layout = new org.jdesktop.layout.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(cbAdvogado1, 0, 191, Short.MAX_VALUE)
                    .add(checkBoxProcessoJuridico)
                    .add(dateField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .add(checkBoxProcessoJuridico)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(cbAdvogado1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(dateField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(20, Short.MAX_VALUE))
        );

        org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(checkBoxSindico)
                    .add(checkboxAtivo)
                    .add(checkboxImpressaoCertificado)
                    .add(checkboxImpressaoCobranca)
                    .add(checkboxCartaCobranca))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 11, Short.MAX_VALUE)
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                    .add(jPanel4, 0, 213, Short.MAX_VALUE)
                    .add(jPanel6, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel3Layout.createSequentialGroup()
                .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel3Layout.createSequentialGroup()
                        .addContainerGap()
                        .add(jPanel6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jPanel3Layout.createSequentialGroup()
                        .add(49, 49, 49)
                        .add(checkBoxSindico)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(checkboxAtivo)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(checkboxImpressaoCertificado)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(checkboxImpressaoCobranca)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(checkboxCartaCobranca)))
                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        org.jdesktop.layout.GroupLayout panelDadosBancáriosLayout = new org.jdesktop.layout.GroupLayout(panelDadosBancários);
        panelDadosBancários.setLayout(panelDadosBancáriosLayout);
        panelDadosBancáriosLayout.setHorizontalGroup(
            panelDadosBancáriosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(panelDadosBancáriosLayout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(1, 1, 1)
                .add(jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        panelDadosBancáriosLayout.setVerticalGroup(
            panelDadosBancáriosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, panelDadosBancáriosLayout.createSequentialGroup()
                .addContainerGap()
                .add(panelDadosBancáriosLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );

        tabCondominios.addTab("Dados Unidade", panelDadosBancários);

        jPanel14.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(51, 51, 51), 1, true));

        textAreaAnotacoes.setColumns(20);
        textAreaAnotacoes.setRows(5);
        jScrollPane3.setViewportView(textAreaAnotacoes);

        org.jdesktop.layout.GroupLayout jPanel14Layout = new org.jdesktop.layout.GroupLayout(jPanel14);
        jPanel14.setLayout(jPanel14Layout);
        jPanel14Layout.setHorizontalGroup(
            jPanel14Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel14Layout.createSequentialGroup()
                .addContainerGap()
                .add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 737, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel14Layout.setVerticalGroup(
            jPanel14Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel14Layout.createSequentialGroup()
                .addContainerGap()
                .add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 199, Short.MAX_VALUE)
                .addContainerGap())
        );

        org.jdesktop.layout.GroupLayout panelAnotacoesLayout = new org.jdesktop.layout.GroupLayout(panelAnotacoes);
        panelAnotacoes.setLayout(panelAnotacoesLayout);
        panelAnotacoesLayout.setHorizontalGroup(
            panelAnotacoesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(panelAnotacoesLayout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel14, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        panelAnotacoesLayout.setVerticalGroup(
            panelAnotacoesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(panelAnotacoesLayout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel14, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        tabCondominios.addTab("Anotações", panelAnotacoes);

        jPanel8.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.LineBorder(new java.awt.Color(102, 102, 102), 1, true), "Dados Gerais"));

        jLabel19.setText("Código:");

        jLabel20.setText("Proprietário");

        jLabel21.setText("CPF");

        jLabel23.setText("Endereço:");

        jLabel24.setText("Número:");

        jLabel25.setText("Compl.:");

        jLabel26.setText("Bairro:");

        txtCodigo.setEditable(false);

        txtNome.setToolTipText("Digite a Razão Social");
        txtNome.setNextFocusableComponent(txtEndereco);

        txtEndereco.setEditable(false);
        txtEndereco.setToolTipText("Digite o Endereço");
        txtEndereco.setNextFocusableComponent(txtNumero);

        txtNumero.setEditable(false);

        txtComplemento.setEditable(false);
        txtComplemento.setToolTipText("");
        txtComplemento.setNextFocusableComponent(txtBairro);

        txtBairro.setEditable(false);
        txtBairro.setNextFocusableComponent(txtCidade);

        jLabel27.setText("Cidade:");

        txtCidade.setEditable(false);
        txtCidade.setNextFocusableComponent(txtUf);

        jLabel28.setText("UF:");

        txtUf.setEditable(false);
        txtUf.setNextFocusableComponent(txtCep);

        jLabel29.setText("CEP:");

        try {
            txtCpf.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("###.###.###-##")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }
        txtCpf.setToolTipText("Digite o CPF");
        txtCpf.setNextFocusableComponent(txtNome);

        txtCep.setEditable(false);

        jLabel10.setText("RG");

        checkBoxFalecido.setText("Falecido?");

        jLabel1.setForeground(new java.awt.Color(255, 51, 51));
        jLabel1.setText("Condomínio:");

        jLabel7.setText("Contato:");

        jLabel8.setText("Correspondência A/C:");

        jLabel9.setText("Email:");

        txtCondominio.setEditable(false);

        jLabel13.setText("Unidade:");

        org.jdesktop.layout.GroupLayout jPanel8Layout = new org.jdesktop.layout.GroupLayout(jPanel8);
        jPanel8.setLayout(jPanel8Layout);
        jPanel8Layout.setHorizontalGroup(
            jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel8Layout.createSequentialGroup()
                        .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLabel19)
                            .add(jLabel20)
                            .add(jLabel23)
                            .add(jLabel25)
                            .add(jLabel27))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanel8Layout.createSequentialGroup()
                                .add(txtContato, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 158, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jLabel8)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(txtCorrespondencia, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                .add(jLabel9)
                                .add(18, 18, 18)
                                .add(txtEmail, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 175, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jPanel8Layout.createSequentialGroup()
                                .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jPanel8Layout.createSequentialGroup()
                                        .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                                            .add(txtComplemento)
                                            .add(txtEndereco)
                                            .add(txtNome, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 368, Short.MAX_VALUE)
                                            .add(jPanel8Layout.createSequentialGroup()
                                                .add(txtCidade, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 239, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                                .add(jLabel28)
                                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                .add(txtUf)))
                                        .add(48, 48, 48)
                                        .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                            .add(jLabel24)
                                            .add(jLabel26)
                                            .add(jLabel29)
                                            .add(jLabel10)))
                                    .add(jPanel8Layout.createSequentialGroup()
                                        .add(txtCodigo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 78, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                        .add(18, 18, 18)
                                        .add(jLabel21)
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(txtCpf, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 146, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                        .add(28, 28, 28)
                                        .add(jLabel13)
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(txtUnidade, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 76, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                                .add(9, 9, 9)
                                .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(txtRg, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 228, Short.MAX_VALUE)
                                    .add(txtNumero, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 88, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(txtBairro, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 228, Short.MAX_VALUE)
                                    .add(jPanel8Layout.createSequentialGroup()
                                        .add(txtCep, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 135, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                        .add(checkBoxFalecido))
                                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel8Layout.createSequentialGroup()
                                        .add(jLabel1)
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(txtCondominio, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 165, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))))
                    .add(jLabel7))
                .addContainerGap())
        );
        jPanel8Layout.setVerticalGroup(
            jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel19)
                    .add(txtCodigo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jLabel21)
                    .add(txtCpf, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(txtCondominio, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jLabel1)
                    .add(jLabel13)
                    .add(txtUnidade, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(8, 8, 8)
                .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel20)
                    .add(txtNome, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jLabel10)
                    .add(txtRg, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel23)
                    .add(jLabel24)
                    .add(txtEndereco, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(txtNumero, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel8Layout.createSequentialGroup()
                        .add(7, 7, 7)
                        .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLabel26)
                            .add(txtBairro, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .add(jPanel8Layout.createSequentialGroup()
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLabel25)
                            .add(txtComplemento, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(jLabel27)
                        .add(txtCidade, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jLabel28)
                        .add(txtUf, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(jLabel29)
                        .add(txtCep, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(checkBoxFalecido)))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(jLabel7)
                        .add(txtContato, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jLabel8)
                        .add(txtCorrespondencia, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(txtEmail, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jLabel9)))
                .addContainerGap(4, Short.MAX_VALUE))
        );

        jPanel9.setLayout(new java.awt.GridBagLayout());

        btnSalvar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/adcon/imagens/salvar.png"))); // NOI18N
        btnSalvar.setText("Salvar");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.ipadx = 12;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(24, 251, 23, 0);
        jPanel9.add(btnSalvar, gridBagConstraints);

        btnCancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/adcon/imagens/cancelar.png"))); // NOI18N
        btnCancelar.setText("Fechar");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(24, 18, 23, 0);
        jPanel9.add(btnCancelar, gridBagConstraints);

        btnRemover.setIcon(new javax.swing.ImageIcon(getClass().getResource("/adcon/imagens/remover.png"))); // NOI18N
        btnRemover.setText("Remover");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(24, 18, 23, 256);
        jPanel9.add(btnRemover, gridBagConstraints);

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .add(9, 9, 9)
                .add(jPanel8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(tabCondominios, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 784, Short.MAX_VALUE)
                .add(9, 9, 9))
            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .add(jPanel9, 0, 0, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .add(jPanel8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 198, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(tabCondominios, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 270, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanel9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 41, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel Coeficiente;
    private javax.swing.JButton btnAdicionarEndereco;
    private javax.swing.JButton btnAdicionarTelefone;
    private javax.swing.JButton btnCancelar;
    private javax.swing.JButton btnEditarEndereco;
    private javax.swing.JButton btnEditarTelefone;
    private javax.swing.JButton btnRemover;
    private javax.swing.JButton btnRemoverEndereco;
    private javax.swing.JButton btnRemoverTelefone;
    private javax.swing.JButton btnSalvar;
    private javax.swing.JComboBox cbAdvogado1;
    private javax.swing.JComboBox cbAdvogado2;
    private javax.swing.JCheckBox checkBoxFalecido;
    private javax.swing.JCheckBox checkBoxProcessoJuridico;
    private javax.swing.JCheckBox checkBoxSindico;
    private javax.swing.JCheckBox checkboxAtivo;
    private javax.swing.JCheckBox checkboxCartaCobranca;
    private javax.swing.JCheckBox checkboxImpressaoCertificado;
    private javax.swing.JCheckBox checkboxImpressaoCobranca;
    private javax.swing.JCheckBox checkboxNotificadoJudicialmente;
    private net.sf.nachocalendar.components.DateField dateField1;
    private net.sf.nachocalendar.components.DateField dateField2;
    private net.sf.nachocalendar.components.DateField dateField3;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel14;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JList listaEnderecos;
    private javax.swing.JList listaTelefones;
    private javax.swing.JPanel panelAnotacoes;
    private javax.swing.JPanel panelContatos;
    private javax.swing.JPanel panelContatos1;
    private javax.swing.JPanel panelDadosBancários;
    private javax.swing.JTabbedPane tabCondominios;
    private javax.swing.JTextArea textAreaAnotacoes;
    private javax.swing.JTextField txtBairro;
    private javax.swing.JTextField txtBairroInquilino;
    private javax.swing.JTextField txtBloco;
    private javax.swing.JTextField txtCep;
    private javax.swing.JTextField txtCepInquilino;
    private javax.swing.JTextField txtCidade;
    private javax.swing.JTextField txtCidadeInquilino;
    private javax.swing.JTextField txtCodigo;
    private javax.swing.JTextField txtCodigo1;
    private javax.swing.JTextField txtCoeficiente;
    private javax.swing.JTextField txtComplemento;
    private javax.swing.JTextField txtComplementoInquilino;
    private javax.swing.JTextField txtCondominio;
    private javax.swing.JTextField txtContato;
    private javax.swing.JTextField txtCorrespondencia;
    private javax.swing.JFormattedTextField txtCpf;
    private javax.swing.JFormattedTextField txtCpfInquilino;
    private javax.swing.JTextField txtEmail;
    private javax.swing.JTextField txtEmailInquilino;
    private javax.swing.JTextField txtEndereco;
    private javax.swing.JTextField txtEnderecoInquilino;
    private javax.swing.JTextField txtFracaoIdeal;
    private javax.swing.JTextField txtInquilino;
    private javax.swing.JTextField txtIptu;
    private javax.swing.JTextField txtNome;
    private javax.swing.JTextField txtNumero;
    private javax.swing.JTextField txtNumeroInquilino;
    private javax.swing.JTextField txtRg;
    private javax.swing.JTextField txtRgInquilino;
    private javax.swing.JTextField txtUf;
    private javax.swing.JTextField txtUfInquilino;
    private javax.swing.JTextField txtUnidade;
    private javax.swing.JTextField txtValorPrincipal;
    // End of variables declaration//GEN-END:variables
}
